﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="LINQ.aspx.cs" Inherits="WebApplication1.LINQ" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Label Text="Shipper Name: " runat="server" />
    <asp:TextBox runat="server" ID="txtNewShipperName" />
    <br />
    <asp:Label Text="Phone: " runat="server" />
    <asp:TextBox runat="server" ID="txtNewPhone" />
    <br />
    <asp:Button Text="Add New Shipper" runat="server" ID="btnAdd" OnClick="btnAdd_Click" />
    <asp:Button Text="Update" ID="btnUpdate" runat="server" 
        onclick="btnUpdate_Click" />
    <br />
    <asp:Label Text="" ID="lblResult" ForeColor="Green" Font-Bold="true" runat="server" />
    <br />
    <br />
    <asp:Label Text="Shipper ID to be deleted: " runat="server" />
    <asp:TextBox runat="server" ID="txtShipperID" />
    <asp:Button Text="Delete" ID="btnDelete" runat="server" OnClick="btnDelete_Click" />
    <asp:Label Text="" ID="lblDelete" runat="server" />
    <br />
    <br />
    <asp:Label ID="Label1" Text="Shipper ID to be updated: " runat="server" />
    <asp:TextBox runat="server" ID="txtShipperIDUpdate" />
    <asp:Button Text="Modify" ID="btnModify" runat="server" 
        onclick="btnModify_Click" />
    <asp:Label Text="" ID="lblUpdate" runat="server" />
    <br />
    <br />
    <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#DEDFDE"
        BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical">
        <AlternatingRowStyle BackColor="White" />
        <FooterStyle BackColor="#CCCC99" />
        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
        <RowStyle BackColor="#F7F7DE" />
        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#FBFBF2" />
        <SortedAscendingHeaderStyle BackColor="#848384" />
        <SortedDescendingCellStyle BackColor="#EAEAD3" />
        <SortedDescendingHeaderStyle BackColor="#575357" />
    </asp:GridView>
</asp:Content>
